Skip to contentSkip to conversation

Change in openvpn[master]: Fix typo in positive_atoi

Openvpn-devel In review plaisthos (Code Review) 2 participants 6 messages Feb 12, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1739361204000.I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce@...2715...

#1 lore raw

Attention is currently required from: flichtenheld.

Hello flichtenheld,

I'd like you to do a code review.
Please visit

    http://gerrit.openvpn.net/c/openvpn/+/889?usp=email

to review the following change.

Change subject: Fix typo in positive_atoi
......................................................................

Fix typo in positive_atoi

This is a code path that only affects Android

Change-Id I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce

---
M src/openvpn/options.c

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/89/889/1

src/openvpn/options.c +1 -1
index 218d8a6..3ae44db 100644
@@ -8316,7 +8316,7 @@
 #if defined(TARGET_ANDROID)
         else if (streq(p[1], "PROXY_HTTP") && p[3] && !p[4])
         {
-            o->http_proxy_port = positiove_atoi(p[3], msglevel);
+            o->http_proxy_port = positive_atoi(p[3], msglevel);
             o->http_proxy = p[2];
         }
 #endif

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/889?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce
Gerrit-Change-Number: 889
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newchange

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: flichtenheld, plaisthos.

cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/889?usp=email )

Change subject: Fix typo in positive_atoi
......................................................................

Patch Set 1: Code-Review+2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/889?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce
Gerrit-Change-Number: 889
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Wed, 12 Feb 2025 12:36:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment

#3 lore raw

PATCH 1/1 Fix typo in positive_atoi

In reply to a message not in the archive

From: Arne Schwabe <[email protected]...>

This is a code path that only affects Android

Change-Id I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce

---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/889
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Gert Doering <[email protected]...>

src/openvpn/options.c +1 -1
index 218d8a6..3ae44db 100644
@@ -8316,7 +8316,7 @@
 #if defined(TARGET_ANDROID)
         else if (streq(p[1], "PROXY_HTTP") && p[3] && !p[4])
         {
-            o->http_proxy_port = positiove_atoi(p[3], msglevel);
+            o->http_proxy_port = positive_atoi(p[3], msglevel);
             o->http_proxy = p[2];
         }
 #endif
#4 lore raw

[Openvpn-devel] [PATCH applied] Re: Fix typo in positive_atoi

Trivial typo... we should have caught that on merging the original patch... but... new buildbot coming, I hear :-)

Your patch has been applied to the master branch.

commit f3268ee5c7a1beeea01aeed579c7ee11ceca9b03

Author: Arne Schwabe
Date:   Wed Feb 12 13:36:52 2025 +0100
     Fix typo in positive_atoi

     Signed-off-by: Arne Schwabe <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg30832.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering

#5 lore raw
In reply to a message not in the archive

cron2 has uploaded a new patch set (#2) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/889?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by cron2

Change subject: Fix typo in positive_atoi
......................................................................

Fix typo in positive_atoi

This is a code path that only affects Android

Change-Id I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce

Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg30832.html

---
M src/openvpn/options.c

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/89/889/2

src/openvpn/options.c +1 -1
index 218d8a6..3ae44db 100644
@@ -8316,7 +8316,7 @@
 #if defined(TARGET_ANDROID)
         else if (streq(p[1], "PROXY_HTTP") && p[3] && !p[4])
         {
-            o->http_proxy_port = positiove_atoi(p[3], msglevel);
+            o->http_proxy_port = positive_atoi(p[3], msglevel);
             o->http_proxy = p[2];
         }
 #endif

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/889?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce
Gerrit-Change-Number: 889
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newpatchset

#6 lore raw
In reply to a message not in the archive

cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/889?usp=email )

Change subject: Fix typo in positive_atoi
......................................................................

Fix typo in positive_atoi

This is a code path that only affects Android

Change-Id I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce

Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg30832.html

---
M src/openvpn/options.c

1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/options.c +1 -1
index 218d8a6..3ae44db 100644
@@ -8316,7 +8316,7 @@
 #if defined(TARGET_ANDROID)
         else if (streq(p[1], "PROXY_HTTP") && p[3] && !p[4])
         {
-            o->http_proxy_port = positiove_atoi(p[3], msglevel);
+            o->http_proxy_port = positive_atoi(p[3], msglevel);
             o->http_proxy = p[2];
         }
 #endif

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/889?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce
Gerrit-Change-Number: 889
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: merged